home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
050a
/
s3data10.zip
/
BLANK20.DOC
< prev
next >
Wrap
Text File
|
1992-11-10
|
3KB
|
95 lines
Program: Blankit
Version: 2.0
Date: 11/10/92
Author: George Spafford
Purpose:
To analyze ASCII data files and if desired, to remove blank lines.
Procedure:
If you just want to identify the number of records, if there are any blank
records, the minimum record length and the maximum record length, the run
BlankIt and just specify an input file only. If you specify an output file,
the it will assume that you want to produce a corrected file.
If you are doing a conversion, then you may invoke BlankIt from the command
line followed by the input file, a space, and the output file as follows:
BLANK INPUT.FIL OUTPUT.FIL
If you just want to analyze one file, run BLANK followed by that file name.
For example:
BLANK INPUT.FIL
Specifications:
BlankIt requires that the ASCII records have the CR/LF delimitters at the
end of each record (Dec 10 and Dec 13).
When it identifies blank lines, it means that one of the following occurred:
1. BLANKit read in a line and only found the CR/LF end.
2. It read in a fixed length line that was all spaces or Nulls.
3. It read in a variable length line that was all spaces or Nulls.
If it is doing a conversion, it will remove the above mentioned items.
History:
v2.0 11/10/92
- Optimized the string analysis routines
- Added the capability to recognize that if BLANK is run with just
one file name specified, then it should just analyze that file.
- A blank line that has null characters in it is now considered a
blank line.
v1.2 03/24/92
Recompiled using a different video routine to get rid of the
horrible video updating.
v1.1 03/18/92
Added the ability to identify & removed blank lines that are
padded with spaces.
v1.0 Initial release that happened during the dark ages.
REGISTER ME:
I hope this program helps you evaluate some of your problems
or even makes some solutions/benefits clear. This program is
released as shareware. Its price is $5 for each concurrently
used copy. If you have any suggestions or comments, I'd REALLY
like to hear those too.
Sincerely,
George Spafford
3001 LakeShore Drive, #329
St. Joseph, MI 49085
Data: (616) 468-5026 Queued Access BBS 14.4Kb USR Dual HST
FIDOnet: 1:2340/0 NEC/NC Site.
Sysop: Tim Akright
And now for the unpleasantries:
BLANKIT IS DISTRIBUTED AS IS. THE AUTHOR (GEORGE SPAFFORD) MAKES NO
WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
TO WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE,
WITH RESPECT TO THIS SOFTWARE AND DOCUMENTATION. IN NO EVENT SHALL
THE AUTHOR BE LIABLE FOR ANY DAMAGES, INCLUDING LOST PROFITS, LOST
SAVINGS, OR ANY OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OF OR THE INABILITY TO USE THIS PROGRAM.
----------------------------------------------------------------